FROM java:8-jdk-alpine

LABEL maintainer="tom <tantao700@gmail.com>"

ENV TZ 'Asia/Shanghai'

VOLUME /tmp

ADD target/spring-boot-mongo-docker-1.0.0.jar app.jar

EXPOSE 80 443
ENV JAVA_OPTS=""
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Dfile.encoding=utf-8","-Duser.timezone=GMT+09:00","-jar","/app.jar"]